Skip to content

bump: cardinal pins to v2.5.105 (v1) and v3.0.1 (v2)#1600

Merged
sre-ci-robot merged 1 commit into
zilliztech:mainfrom
jamesgao-jpg:bump/cardinal-pins-to-typo-fix-tags
Apr 23, 2026
Merged

bump: cardinal pins to v2.5.105 (v1) and v3.0.1 (v2)#1600
sre-ci-robot merged 1 commit into
zilliztech:mainfrom
jamesgao-jpg:bump/cardinal-pins-to-typo-fix-tags

Conversation

@jamesgao-jpg
Copy link
Copy Markdown
Collaborator

What

Bump the two CARDINAL_VERSION pins to the new tags cut from the post-typo-fix tips of cardinal:

File Old tag New tag Includes
cmake/libs/cardinal/v1/CMakeLists.txt v2.5.104 v2.5.105 zilliztech/cardinal#824 + #825 (rename on v1)
cmake/libs/cardinal/v2/CMakeLists.txt v3.0.0 v3.0.1 zilliztech/cardinal#823 (rename on master) + #809 (Conan 2.x migration, already required by knowhere main since #1495)

Why

#1577 (commit c884fd8) renamed the macro definition in include/knowhere/config.h:

-#define KNOHWERE_DECLARE_CONFIG(CONFIG) CONFIG()
+#define KNOWHERE_DECLARE_CONFIG(CONFIG) CONFIG()

The two cardinal vendored copies were pinned at tags cut before the corresponding cardinal-side renames landed, so every WITH_CARDINAL=ON build fails:

thirdparty/cardinalv{1,2}/know/cardinal_config.h:33:5: error: ISO C++ forbids
declaration of 'KNOHWERE_DECLARE_CONFIG' with no type [-fpermissive]

Observed in:

This bump consumes the corresponding fix releases on the cardinal side and unblocks both pipelines.

Notes

  • v3.0.1 also pulls in cardinal's Conan 2.x migration (Refactor knowhere UT #809). Knowhere main already requires Conan 2.x since #1495, so this is a non-issue here, but worth noting for any downstream consumer that pins by tag.
  • Anyone with primed cardinal workspaces (Jenkins agents, Conan caches) should git fetch --tags --force after this lands so the new tag refs are visible locally.

Test

  • pre-commit run --files cmake/libs/cardinal/v1/CMakeLists.txt cmake/libs/cardinal/v2/CMakeLists.txt — clean.
  • Pure version-string bump; no behavior change in this repo.

Both CARDINAL_VERSION pins were stuck at tags cut before the
KNOHWERE_DECLARE_CONFIG -> KNOWHERE_DECLARE_CONFIG rename done in
knowhere PR zilliztech#1577 (commit c884fd8) and the corresponding cardinal
fixes:

- cardinalv1 pin v2.5.104 -> v2.5.105: includes
  zilliztech/cardinal#824 and zilliztech#825 (rename on the v1 branch).
- cardinalv2 pin v3.0.0   -> v3.0.1:   includes
  zilliztech/cardinal#823 (rename on master). v3.0.1 also pulls in
  zilliztech/cardinal#809 (Migrate to Conan 2.x), which is already
  the case on knowhere main since zilliztech#1495.

Without this bump every WITH_CARDINAL=ON build (knowhere/nightly-2.0
x86 and knowhere/cardinal e2e (arm)) fails to compile with:

  cardinalv{1,2}/know/cardinal_config.h:33:5: error: ISO C++ forbids
  declaration of 'KNOHWERE_DECLARE_CONFIG' with no type

These two new tags were cut from the post-fix tips of the v1 and
master branches in cardinal.

Signed-off-by: jamesgao-jpg <james.gao@zilliz.com>
Copy link
Copy Markdown
Collaborator

@foxspy foxspy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@sre-ci-robot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: foxspy, jamesgao-jpg

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot merged commit 868634b into zilliztech:main Apr 23, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants